package com.bjb.vr.remote.fallback;

import com.bjb.vr.common.ao.ResPlatformAo;
import com.bjb.vr.common.result.BaseResult;
import com.bjb.vr.common.result.CommonResult;
import com.bjb.vr.common.vo.ResPlatformVo;
import com.bjb.vr.remote.openfeign.ResourcesService;
import org.springframework.stereotype.Component;

/**
 * ResourcesService的降级处理
 *
 * @version 1.0.0
 * @author: HuJingBo
 * @time: 2022/3/21 16:33
 */
@Component
public class ServiceDegradeFallback implements ResourcesService {


    @Override
    public BaseResult<ResPlatformVo> resourceList(ResPlatformAo resPlatformAo) {
        return CommonResult.Fail("服务降级返回>>> ServiceDegradeFallback--resourceList");
    }
}
